<template>
  <div>
    <el-table :data="choices" border style="width: 100%" stripe class="elTable">
      <el-table-column prop="choNo" label="编号" >
      </el-table-column>
      <el-table-column prop="stuNo" label="学号" >
      </el-table-column>
      <el-table-column prop="topNo" label="课题号" >
      </el-table-column>
      <el-table-column prop="teaNo" label="教师编号" >
      </el-table-column>
      <el-table-column prop="choState" label="状态" >
      </el-table-column>
      <el-table-column prop="choAttach" label="属性" >
      </el-table-column>
      <el-table-column prop="gmtCreate" label="创建时间" >
      </el-table-column>
      <el-table-column prop="gmtModify" label="获取时间" >
      </el-table-column>
      <el-table-column label="操作">
        <template slot-scope="scope">
          <el-button size="mini">编辑</el-button>
          <el-button size="mini" type="danger">删除</el-button>
        </template>
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  name: "teacher-choice",
  props: ['choices']
}
</script>

<style lang="stylus" scoped>
.elTable >>> .cell {
  text-align: center;
}

.elTable {
  text-align: center;
}
</style>
